module.exports = function(window, document) {
	var apivm = require('../../common/avm.min')(window, document);
	var avm = apivm;
	var api = apivm.api;
	var Component = apivm.Component;
	var $ = apivm.$;
	(function() {
	function reverseStr(str) {
		return str
			.split("")
			.reverse()
			.join("");
	}

	var Index = /*@__PURE__*/ (function(Component) {
		function Index(props) {
			Component.call(this, props);
			this.data = {
				brand: reverseStr("老陈")
			};
		}

		if (Component) Index.__proto__ = Component;
		Index.prototype = Object.create(Component && Component.prototype);
		Index.prototype.constructor = Index;
		Index.prototype.apiready = function() {};
		Index.prototype.render = function() {
			return apivm.h(
				"view",
				{class: "page"},
				apivm.h("view", null, "helloworld1"),
				apivm.h("view", null, "昵称:", this.data.brand),
				apivm.h("view", {class: "box"}),
				apivm.h("view", {class: "box1"}),
				apivm.h("view", {class: "box2", class: "'box2 active'"})
			);
		};

		return Index;
	})(Component);
	apivm.define("index", Index);
	apivm.render(apivm.h("index", null), "body");
})();

	window['createApp'] = function() {
		apivm.$_start();
	}
	return avm;
}